package com.blb.zycommunity.service.impl;

import com.blb.zycommunity.entity.SysRoleMenu;
import com.blb.zycommunity.mapper.SysRoleMenuMapper;
import com.blb.zycommunity.service.ISysRoleMenuService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 * 角色和菜单关联表 服务实现类
 * </p>
 *
 * @author chenheng
 * @since 2023-11-20
 */
@Service
public class SysRoleMenuServiceImpl extends ServiceImpl<SysRoleMenuMapper, SysRoleMenu> implements ISysRoleMenuService {

    @Resource
    private SysRoleMenuMapper sysRoleMenuMapper;

    @Override
    public List<Long> SysRoleMenuRoleId(Long roleId) {
        return sysRoleMenuMapper.SysRoleMenuRoleId(roleId);
    }
}
